package com.yesep.learn.mqtt.client.common.future;

import com.yesep.learn.mqtt.client.common.event.OneTimeEventCallBack;

import io.netty.handler.codec.mqtt.MqttSubAckMessage;

/**
 */
public class SubscribeFuture extends AbstractFuture<MqttSubAckMessage> implements Future<MqttSubAckMessage>, OneTimeEventCallBack<MqttSubAckMessage> {

	@Override
	public void callback(MqttSubAckMessage msg) {
		setDone(msg);
	}
}
